package com.shxt.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.shxt.mapper.RoleMapper;
import com.shxt.mapper.Role_link_menuMapper;
import com.shxt.model.Role;
import com.shxt.model.Role_link_menu;
import com.shxt.service.Role_link_menuService;
@Service
public class Role_link_menuServiceImpl implements Role_link_menuService {
	@Autowired
    private RoleMapper roleMapper;
	  @Autowired
	    private Role_link_menuMapper role_Link_menuMapper;
	  
	@Override
	public int delete(Integer role_link_menu_id) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int add(Role_link_menu role_link_menu) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public Role_link_menu load(Integer role_link_menu_id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int update(Role_link_menu role_link_menu) {
		// TODO Auto-generated method stub
		return 0;
	}

	 @Override
	    public int deleteByRole_id(Role role ) {
	        
	        return this.role_Link_menuMapper.deleteByRole_id(role);
	    }
}
